<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../项目1/cheng/first-project/ysy.css">
    <link rel="stylesheet" href="../项目1/cheng/first-project/header/header.css">
    <link rel="stylesheet" href="xs.css">
    <link rel="stylesheet" href="../项目1/cheng/first-project/footer/footer.css">
    <link rel="stylesheet" href="./font_4v9f6m58m1r/iconfont.css">
    <script src="./until.js"></script>
</head>
<body>
    <header>
        <!-- 头部小黑条 -->
       <div class="top_blackLine"></div>
       <div class="header_top wrapper" id="header">   
           <div class="header_top_main fl-j">
               <h1>CHANEL</h1>
               <!-- 右边四个图标 -->
               <div class="header_top_main_youbian">
                   <ul class="fl-spaceA">
                       <li><a href="#javascript"><i class="iconfont icon-sousuo"></i></a></li>
                       <li><a href="#javascript"><i class="iconfont icon-wode"></i></a></li>
                       <li>
                           <i class="iconfont icon-dizhi"></i>
                           <!-- 地址的二级菜单 -->
                           <div class="dizhi_erji fl">
                               <div>
                                   <p>寻找销售店铺</p>
                                   <div class="fl-center">
                                       <i class="iconfont icon-dingwei"></i>
                                       <span>所在地</span>
                                   </div>
                                   <div class="fl" style="width: 100%; height: 40px;">
                                       <input type="text" placeholder="城市/城市" style="width:250px ;">
                                       <div style="width:40px; height:40px; line-height: 40px; text-align:center; margin-top: 0;">
                                           <i class="iconfont icon-sousuo"></i>
                                       </div>
                                   </div>
                               </div>
                           </div>
                       </li>
                       <li><a href="#javascript"><i class="iconfont icon-24gl-bag2"></i></a></li>
                   </ul>
               </div>
           </div>
       </div>
    
       <div class="header_bottom wrapper" id="">
           <nav>
               <ul class="fl-spaceA">
                   <!-- zhanKai 展开二级菜单 -->
                   <li class="zhanKai" id="zhankai" >
                       <a href="#javascript" >香水</a>
                       <!-- erji  二级菜单 -->
                       <div class="erji" id="erji">
                           <div>
                               <div>
                                   <h6><a href="#javascript">精选系列</a></h6>
                                   <div><a href="#javascript">珍藏系列香水</a></div>
                                   <div><a href="#javascript">香奈儿可可小姐香水</a></div>
                                   <div><a href="#javascript">香奈儿5号</a></div>
                                   <div><a href="#javascript">香奈儿梧桐影木香精高级手工坊礼盒</a></div>
                               </div>
                               <div class="margin-t60">
                                   <h6><a href="#javascript">明星系列</a></h6>
                                   <div><a href="#javascript">香奈儿身体洗护剂</a></div>
                                   <div><a href="#javascript">香水的造艺</a></div>
                                   <div><a href="#javascript">新品资讯</a></div>
                                   <div><a href="#javascript">男士精选</a></div>
                                   <div><a href="#javascript">细节艺术</a></div>
                               </div>
                           </div>
    
                           <div>
                               <h6><a href="#javascript">女士香水</a></h6>
                               <div><a href="#javascript">5号香水系列</a></div>
                               <div><a href="#javascript">可可小姐香水系列</a></div>  
                               <div><a href="#javascript">嘉柏丽尔香水系列</a></div>
                               <div><a href="#javascript">邂逅香水系列</a></div>
                               <div><a href="#javascript">邂逅清新香水系列</a></div>
                               <div><a href="#javascript">邂逅柔情香水系列</a></div>
                               <div><a href="#javascript">邂逅活力香水系列</a></div>
                               <div><a href="#javascript">可可小姐黑色香水系列</a></div>
                               <div><a href="#javascript">可可香水系列</a></div>
                               <div><a href="#javascript">魅力香水系列</a></div>
                               <div><a href="#javascript">感性魅力香水系列</a></div>
                               <div><a href="#javascript">十九号香水系列</a></div>
                               <div><a href="#javascript">水晶恋香水系列</a></div>
                               <div><a href="#javascript">香奈儿之水珍藏系列香水</a></div>
                           </div>
    
                           <div>
                               <h6><a href="#javascript">男士香水</a></h6>
                               <div><a href="#javascript">蔚蓝男士香水系列</a></div>
                               <div><a href="#javascript">男士运动香水系列</a></div>
                               <div><a href="#javascript">男士极限运动香水系列</a></div>
                               <div><a href="#javascript">男士香水系列</a></div>
                               <div><a href="#javascript">白色魅力精粹男士香水系列</a></div>
                               <div><a href="#javascript">白金男性香水系列</a></div>
                               <div><a href="#javascript">自我男性香水系列</a></div>
                               <div><a href="#javascript">绅士男性香水系列</a></div>
                               <div><a href="#javascript">力度男性香水系列</a></div>
                               <div><a href="#javascript">香奈儿之水</a></div>
                               <div><a href="#javascript">珍藏系列香水</a></div>
                           </div>
    
                           <div>
                               <h6><a href="#javascript">套组</a></h6>
                               <div><a href="#javascript">礼物套组</a></div>
                           </div>
                           
                           <div>
                               <span>
                                   <a href="#javascript"  id="close">X</a>
                               </span>
                           </div>
                       </div>
                   </li>
                   <li><a href="#javascript">彩妆</a></li>
                   <li><a href="#javascript">护肤品</a></li>
                   <li><a href="#javascript"  class="red">N°1 de CHANEL</a></li>
               </ul>
           </nav>
       </div>
    </header>
    <!-- 内容1 -->
    <section class="section1">
        <!-- 大图1 -->
        <div class="big1">
            <a href="#"><img src="images/1big.jpg"></a> 
            <div class="zt">香水
                <h2>珍藏系列香水</h2>
            </div>
        </div>
        <!-- 内容 导航 -->
        <nav class="nav">
            <ul>
                <li><a class="black" href="">所有</a></li>
                <li><a href="">专享产品</a></li>
                <li><a href="">新品</a></li>
                <li><a href="">限量版</a></li>
            </ul>
        </nav>
        <div>
            <p>香水 / 珍藏系列香水</p>
        </div>
    </section>
    <section class="section2">
        <div class="contentWidth">
            <div class="box">
                <div class="left">
                    <img src="images/1957.jpg">
                </div>
                <div class="right">
                    <h4>LES EXCLUSIFS DE CHANEL</h4>
                    <span>香奈儿一九五七香水</span>
                    <p>￥1,780.00 起</p>
                    <a href="#">
                        <button>立即购买</button>
                    </a>
                </div>
            </div>
    
            <div class="box2">
                <div class="left">
                    <img src="images/sz.jpg">
                </div>
                <div class="right">
                    <h4>LE LION DE CHANEL</h4>
                    <span>香奈儿狮子香水</span>
                    <p>￥1,780.00 起</p>
                    <a href="#">
                        <button>立即购买</button>
                    </a>
                </div>
            </div>
    
            <div class="box">
                <div class="left">
                    <img src="images/wt.jpg">
                </div>
                <div class="right">
                    <h4>LES EXCLUSIFS DE CHANEL</h4>
                    <span>香奈儿梧桐影木香水</span>
                    <p>￥1,780.00 起</p>
                    <a href="#">
                        <button>立即购买</button>
                    </a>
                </div>
            </div>
    
            <div class="box">
                <div class="left">
                    <img src="images/zzh.jpg">
                </div>
                <div class="right">
                    <h4>LES EXCLUSIFS DE CHANEL</h4>
                    <span>香奈儿珍藏香水(栀子花香)</span>
                    <p>￥1,780.00 起</p>
                    <a href="#">
                        <button>立即购买</button>
                    </a>
                </div>
            </div>
        </div>
    </section>
    <!-- 内容3 -->
    <section class="section3">
        <!-- 大图2 -->
        <div class="big2">
            <a href="#"><img src="images/2big.jpg"></a> 
            <div class="ziti">
                <h3>给你奇幻，给你香奈儿</h3>
                <a href="#">
                    <button>探索</button>
                </a>
            </div>
        </div>
    </section>
     <!-- 内容4 -->
     <section class="section4">
       <div class="contentWidth">
        <div class="box">
            <div class="left">
                <img src="images/jhy.jpg">
            </div>
            <div class="right">
                <h4>GENTLE OIL</h4>
                <span>香奈儿珍藏延香精华油</span>
                <div>专享产品</div>
                <p>￥1650.00 起</p>
                <a href="#">
                    <button>立即购买</button>
                </a>
            </div>
        </div>

        <div class="box">
            <div class="left">
                <img src="images/rts.jpg">
            </div>
            <div class="right">
                <h4>LES EXCLUSIFS DE CHANEL</h4>
                <span>香奈儿珍藏延香润体霜</span>
                <div>专享产品</div>
                <p>￥1135.00 起</p>
                <a href="#">
                    <button>立即购买</button>
                </a>
            </div>
        </div>

        <div class="box">
            <div class="left">
                <img src="images/ssxs.jpg">
            </div>
            <div class="right">
                <h4>LES EXCLUSIFS DE CHANEL</h4>
                <span>香奈儿米色时尚香水</span>
                <div>专享产品</div>
                <p>￥1780.00 起</p>
                <a href="#">
                    <button>立即购买</button>
                </a>
            </div>
        </div>

        <div class="box">
            <div class="left">
                <img src="images/dfpf.jpg">
            </div>
            <div class="right">
                <h4>LES EXCLUSIFS DE CHANEL</h4>
                <span>香奈儿东方屏风香水</span>
                <div>专享产品</div>
                <p>￥1780.00 起</p>
                <a href="#">
                    <button>立即购买</button>
                </a>
            </div>
        </div>

        <div class="box">
            <div class="left">
                <img src="images/1932.jpg">
            </div>
            <div class="right">
                <h4>LES EXCLUSIFS DE CHANEL</h4>
                <span>香奈儿一九三二香水</span>
                <div>专享产品</div>
                <p>￥1780.00 起</p>
                <a href="#">
                    <button>立即购买</button>
                </a>
            </div>
        </div>

        <div class="box">
            <div class="left">
                <img src="images/ys.jpg">
            </div>
            <div class="right">
                <h4>LES EXCLUSIFS DE CHANEL</h4>
                <span>香奈儿亚瑟卡柏香水</span>
                <div>专享产品</div>
                <p>￥1780.00 起</p>
                <a href="#">
                    <button>立即购买</button>
                </a>
            </div>
        </div>

        <div class="box">
            <div class="left">
                <img src="images/zylc.jpg">
            </div>
            <div class="right">
                <h4>LES EXCLUSIFS DE CHANEL</h4>
                <span>香奈儿自由旅程香水</span>
                <div>专享产品</div>
                <p>￥1780.00 起</p>
                <a href="#">
                    <button>立即购买</button>
                </a>
            </div>
        </div>

        <div class="box">
            <div class="left">
                <img src="images/31.jpg">
            </div>
            <div class="right">
                <h4>LES EXCLUSIFS DE CHANEL</h4>
                <span>香奈儿康朋街三十一号香水</span>
                <div>专享产品</div>
                <p>￥1780.00 起</p>
                <a href="#">
                    <button>立即购买</button>
                </a>
            </div>
        </div>

        <div class="box">
            <div class="left">
                <img src="images/fsbs.jpg">
            </div>
            <div class="right">
                <h4>LES EXCLUSIFS DE CHANEL</h4>
                <span>香奈儿法式别墅香水</span>
                <div>专享产品</div>
                <p>￥1780.00 起</p>
                <a href="#">
                    <button>立即购买</button>
                </a>
            </div>
        </div>

        <div class="box">
            <div class="left">
                <img src="images/gls.jpg">
            </div>
            <div class="right">
                <h4>LES EXCLUSIFS DE CHANEL</h4>
                <span>香奈儿清新古龙水（瓶装）</span>
                <div>专享产品</div>
                <p>￥1480.00 起</p>
                <a href="#">
                    <button>立即购买</button>
                </a>
            </div>
        </div>

        <div class="box">
            <div class="left">
                <img src="images/18.jpg">
            </div>
            <div class="right">
                <h4>LES EXCLUSIFS DE CHANEL</h4>
                <span>香奈儿十八号香水</span>
                <div>专享产品</div>
                <p>￥1780.00 起</p>
                <a href="#">
                    <button>立即购买</button>
                </a>
            </div>
        </div>

        <div class="box">
            <div class="left">
                <img src="images/lsqx.jpg">
            </div>
            <div class="right">
                <h4>LES EXCLUSIFS DE CHANEL</h4>
                <span>香奈儿绿色气息香水</span>
                <div>专享产品</div>
                <p>￥1780.00 起</p>
                <a href="#">
                    <button>立即购买</button>
                </a>
            </div>
        </div>

        <div class="box">
            <div class="left">
                <img src="images/mxy.jpg">
            </div>
            <div class="right">
                <h4>LES EXCLUSIFS DE CHANEL</h4>
                <span>香奈儿米西亚香水</span>
                <div>专享产品</div>
                <p>￥1780.00 起</p>
                <a href="#">
                    <button>立即购买</button>
                </a>
            </div>
        </div>

        <div class="box">
            <div class="left">
                <img src="images/22.jpg">
            </div>
            <div class="right">
                <h4>LES EXCLUSIFS DE CHANEL</h4>
                <span>香奈儿二十二号香水</span>
                <div>专享产品</div>
                <p>￥1780.00 起</p>
                <a href="#">
                    <button>立即购买</button>
                </a>
            </div>
        </div>

        <div class="box">
            <div class="left">
                <img src="images/dysl.jpg">
            </div>
            <div class="right">
                <h4>LES EXCLUSIFS DE CHANEL</h4>
                <span>香奈儿岛屿森林香水</span>
                <div>专享产品</div>
                <p>￥1780.00 起</p>
                <a href="#">
                    <button>立即购买</button>
                </a>
            </div>
        </div>

        <div class="box">
            <div class="left">
                <img src="images/elspg.jpg">
            </div>
            <div class="right">
                <h4>LES EXCLUSIFS DE CHANEL</h4>
                <span>香奈儿俄罗斯皮革香水</span>
                <div>专享产品</div>
                <p>￥1780.00 起</p>
                <a href="#">
                    <button>立即购买</button>
                </a>
            </div>
        </div>

        <div class="box">
            <div class="left">
                <img src="images/wtym.jpg">
            </div>
            <div class="right">
                <h4>LES EXCLUSIFS DE CHANEL</h4>
                <span>香奈儿梧桐影木香水</span>
                <div class="xlb">限量版</div>
                <p>￥3600.00 起</p>
                <a href="#">
                    <button>立即购买</button>
                </a>
            </div>
        </div>

        <div class="box">
            <div class="left">
                <img src="images/wtymxj.jpg">
            </div>
            <div class="right">
                <h4>LES EXCLUSIFS DE CHANEL</h4>
                <span>香奈儿俄罗斯皮革香水</span>
                <div class="xp">新品</div>
                <p>￥2290.00 起</p>
                <a href="#">
                    <button>立即购买</button>
                </a>
            </div>
        </div>
       </div>
     </section>
     <!-- 内容5 -->
     <section class="section5">
        <div class="contentWidth">
            <div class="imgS5">
                <img class="imgxs left" src="images/xs guang.jpg">
                <img class="imgcai right" src="images/xs caizhuang.jpg">
            </div>
            <div class="wz">
                <a href=""><strong>香水的造艺</strong></a><br>
                <p>探索 &gt;</p>
            </div>
            <div class="tj">
                <a href=""><strong>特别推荐</strong></a><br>
                <p>探索 &gt;</p>
            </div>
        </div>
     </section>
     <section class="section6">
        <div>
            <div>
                <div>
                    <p>线上美容顾问</p>
                    <div><span class="iconfont icon-arrowup"></span></div>
                </div>
                <div>
                    <p>CHANEL</p>
                    <div><span class="iconfont icon-arrowdown"></span></div>
                </div>
            </div>
            <div>
                <div>
                    <div>
                        <div>
                            <div>
                                <div>
                                    <p>为履行法律义务，更好的为您提供服务，我们肯恩会保留，核实并且使用您与我沟通的内容。</p>
                                    <p>我们鼓励您定期查阅以下隐私政策：</p>
                                    <p>http://www.chanel.com/-412a</p>
                                </div>
                                <div>
                                    <p>请您选择问题类型：</p>
                                    <p>1.产品咨询</p>
                                    <p>2.售后服务</p>
                                    <p>3.尊享会员</p>
                                    <p>4.店铺咨询</p>
                                    <p>【可直接输入序号】</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div>
                    <input type="text" name="" id="">
                    <div>
                        <span class="iconfont icon-picture"></span>
                        <span>发送</span>
                    </div>
                    <br>
                </div>
            </div>
        </div>
    </section>
      <!-- 客服 -->
      <div class="kefu wrapper fl-spaceA">
        <div>
            <h4>线上客服</h4>
            <p>香奈儿线上专门店客服团队将竭诚为您服务,请联系线上美容顾问
                或致电 4009-555-888，工作时间每日上午9点至晚上24点。</p>
        </div>
        <div>
            <h4>购买</h4>
            <p>每笔订单均附赠指定体验装。</p>
            <p>并享受免费订单配送。</p>
        </div>
        <div>
            <h4>最新资讯</h4>
            <p>订阅香奈儿最新资讯：限量创作系列，到心意好礼，尽在掌握。</p>
            <button>订阅</button>
        </div>
    </div>
     <footer>
        <!-- <div class=".footer_firstDiv"> -->
        <!-- 上 -->
        <div class="footer_top">
            <h1><a href="#javascript">CHANEL</a></h1>
        </div>  
        <!-- 中 -->
        <div class="footer_middle">
            <ul class="fl-spaceB">
                <li>
                    <h2><a href="#javascript">前往 CHANEL.com</a></h2>
                    <p><a href="#javascript">高级定制服</a></p>
                    <p><a href="#javascript">精品</a></p>
                    <p><a href="#javascript">腕表</a></p>
                    <p><a href="#javascript">高级珠宝</a></p>        
                </li>
                <li>
                    <h2><a href="#javascript">香奈儿与您</a></h2>
                    <p><a href="#javascript">隐私政策</a></p>
                    <p><a href="#javascript">法律声明</a></p>
                    <p><a href="#javascript">Inside CHANEL</a></p>
                    <p><a href="#javascript">工作机会</a></p>
                    <p><a href="#javascript">Fondation CHANEL</a></p>
                    <p><a href="#javascript">CHANEL News</a></p>
                </li>
                <li>
                    <h2><a href="#javascript">销售店铺查询</a></h2>
                    <p><a href="#javascript">寻找销售店铺</a></p>
                </li>
                <li>
                    <h2><a href="#javascript">服务</a></h2>
                    <p><a href="#javascript">近期活动</a></p>
                    <p><a href="#javascript">FAQ</a></p>
                    <p><a href="#javascript">线上专属服务</a></p>
                    <p><a href="#javascript">联系我们</a></p>
                    <p><a href="#javascript">订阅品牌资讯</a></p>
                </li>
            </ul>
        </div>
        <!-- 下 -->
        <div class="footer_bottom fl-spaceB">
    
            <!-- 左 -->
            <div class="fl-spaceB footer_bottom_left">
                <img src="images/logo1.png" class="logo1">
                <img src="images/logo2.png" class="logo2">
                <p>上海工商</p>
                <p>沪ICP备09005344号</p>
                <p>沪公网安备 </p>
                <p>31010602002483号</p>
            </div>
            <!-- 右 -->
            <div class="fl-right footer_bottom_right">
                <div class="fl">
                    <p id="gray">Languages</p>
                    <p>中国大陆</p>
                </div>
                <div class="fl-a">
                    <i class="iconfont icon-xinlangweibo"></i>
                    <span><a href="#javascript">rk</a></span>
                </div>
            </div>
        </div>
    <!-- </div> -->
    </footer>
</body>
<script>
    let header = document.getElementById(('header'));
    let headerTwo = document.querySelector('#scroll');
    let close = document.getElementById('close');
    let erji = document.getElementById('erji');
    let zhankai = document.getElementById('zhankai');
    close.addEventListener('click',()=>{
        erji.style.display = 'none';
    })
    zhankai.addEventListener('mousemove',()=>{
        erji.style.display = 'block';
    })
    zhankai.addEventListener('mouseout',()=>{
        erji.style.display = 'none';
    })

    window.onscroll = function(){
        const offsetY = getScrollOffset().y;
        console.log(offsetY);
        if(offsetY>=4796){
            header.style.display = 'none';
        }
        else{
            header.style.display = 'block';
        }
    }
</script>
</html>